package com.dhcc.bpm.modules.gateway.fileGateway.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lizeyu
 * @since 2022-04-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("EFTP_TRANSPORT")
@ApiModel(value="EftpTransport对象", description="")
public class EftpTransport implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "ID")
    @TableField("ID")
    @JsonSerialize(
            using = ToStringSerializer.class,
            nullsUsing = NullSerializer.class
    )
    private Long id;

    @TableField("FILE_NAME")
    private String fileName;

    @TableField("REAL_FILE_NAME")
    private String realFileName;

    @TableField("LOCAL_FILE_PATH")
    private String localFilePath;

    @TableField("MD5")
    private String md5;

    @TableField("REMOTE_APP_CODE")
    private String remoteAppCode;

    @TableField("REMOTE_NODE_CODE")
    private String remoteNodeCode;

    @TableField("FILE_LENGTH")
    private Long fileLength;

    @TableField("FILE_COMPRESS")
    private Integer fileCompress;

    @TableField("FILE_ENCRYPT")
    private Integer fileEncrypt;

    @TableField("CREATE_TIME")
    private String createTime;

    @TableField("CHNLCODE")
    private String chnlCode;


}
